package cn.team11.smarteye.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import cn.team11.sds.dayi.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Yang on 2017/10/28.
 */

public class DeviceBindResultFragment extends Fragment{


    @BindView(R.id.btn_show_my_device)
    Button mShowDeviceBtn;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_view_config_net_result, container, false);
        ButterKnife.bind(this, view);
        return view;
    }

    public static DeviceBindResultFragment newInstance(Bundle bundle) {
        DeviceBindResultFragment fragment = new DeviceBindResultFragment();
        fragment.setArguments(bundle);
        return fragment;
    }

    @OnClick(R.id.btn_show_my_device)
    public void showMyDevices(View view){
        getActivity().finish();
    }
}
